﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - ASP.NET MVC 5 Application</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("styles", false)
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/">MVC 5 App</a>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    @if (!Request.IsAuthenticated)
                    {
                        <li class="visible-xs">
                            <div class="btn-group">
                                <a class="btn" href="/Account/Login">Login</a>
                                <a class="btn" href="/Account/Register">Register</a>
                            </div>
                        </li>
                        <li class="nav-divider visible-xs"></li>
                    }
                    <li><a href="/Home">Home</a></li>
                    <li><a href="/Home/About">About</a></li>
                    <li><a href="/Home/Contact">Contact</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin<b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Admin/Users">Users</a></li>
                            <li class="divider"></li>
                            <li><a href="/Admin/Roles">Roles</a></li>
                        </ul>
                    </li>
                </ul>
                @Html.Partial("_LoginPartial")
            </div>
        </div>
    </div>

    <div class="container body-content">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy;XData @DateTime.Now.Year - ASP.NET MVC 5 Application</p>
            <br />
            <div class="row">
                <div class="col-sm-6">
                    <a id="XF" href="http://xf.codeplex.com">XF - Element Framework is an XML-Databse mapper</a>
                </div>
                <div class="col-sm-6">
                    <a id="XData" href="http://xdata.codeplex.com">XData - http://xdata.codeplex.com</a>
                </div>
                <br />
                <div class="col-sm-12">
                    <div class="row">
                        <div class="col-sm-3">
                            <a href="http://xdata.codeplex.com/">Web API 2</a>
                        </div>
                        <div class="col-sm-3">
                            <a href="http://xdata.codeplex.com/">MVC 5</a>
                        </div>
                        <div class="col-sm-6">
                            <a href="http://xf.codeplex.com/">SQL Server</a>
                            <span>|</span>
                            <a href="http://xf.codeplex.com/">Oracle</a>
                            <span>|</span>
                            <a href="http://xf.codeplex.com/">MySQL</a>
                        </div>
                    </div>
                </div>
            </div>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", false)
</body>
</html>
